import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var line = new zrender.Line({
    shape: {
      x1: 50,
      y1: 50,
      x2:400,
      y2:400,
      percent:0.8
    },
    style: {
      fill: 'none',
      stroke: '#F00',
      lineWidth: 4
    }
  });
  zr.add(line)
}